package com.xydtech.workflow.mapper;

import com.xydtech.workflow.domain.WflSteplogic;

import java.util.List;

/**
 * 流程节点逻辑配置Mapper接口
 *
 * @author JHON
 * @date 2021-06-07
 */
public interface WflSteplogicMapper {
    /**
     * 查询流程节点逻辑配置
     *
     * @param logicId 流程节点逻辑配置ID
     * @return 流程节点逻辑配置
     */
    public WflSteplogic selectWflSteplogicById(Long logicId);

    /**
     * 查询流程节点逻辑配置列表
     *
     * @param wflSteplogic 流程节点逻辑配置
     * @return 流程节点逻辑配置集合
     */
    public List<WflSteplogic> selectWflSteplogicList(WflSteplogic wflSteplogic);

    /**
     * 新增流程节点逻辑配置
     *
     * @param wflSteplogic 流程节点逻辑配置
     * @return 结果
     */
    public int insertWflSteplogic(WflSteplogic wflSteplogic);

    /**
     * 复制流程节点逻辑配置
     *
     * @param wflSteplogic 流程节点逻辑配置
     * @return 结果
     */
    public int copyWflSteplogic(WflSteplogic wflSteplogic);

    /**
     * 修改流程节点逻辑配置
     *
     * @param wflSteplogic 流程节点逻辑配置
     * @return 结果
     */
    public int updateWflSteplogic(WflSteplogic wflSteplogic);

    /**
     * 删除流程节点逻辑配置
     *
     * @param logicId 流程节点逻辑配置ID
     * @return 结果
     */
    public int deleteWflSteplogicById(Long logicId);

    /**
     * 批量删除流程节点逻辑配置
     *
     * @param logicIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteWflSteplogicByIds(String[] logicIds);
}
